﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using DOTNETGROUP.Entities;
using DOTNETGROUP.Data;

public partial class Gioi_Thieu : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        hienThiNoiDung();
    }
    private void hienThiNoiDung()
    {
        TList<GioiThieu> TList_GioiThieu = DataRepository.GioiThieuProvider.GetAll();
        if (TList_GioiThieu.Count <= 0) return;
        lblTieuDe.Text = TList_GioiThieu[0].TieuDe;
        lblNoiDung.Text = Server.HtmlDecode(TList_GioiThieu[0].NoiDung);
    }
}